﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OA.DBUtility;

namespace OA.Model
{
    [MappingTable("ContractsOutsourcing")]
    public class ContractsOutsourcingInfo
    {
        #region Model
        private int _id;
        private string _contractid;
        private string _contractname;
        private decimal? _contractamount;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractId")]
        public string ContractId
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractName")]
        public string ContractName
        {
            set { _contractname = value; }
            get { return _contractname; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractAmount")]
        public decimal? ContractAmount
        {
            set { _contractamount = value; }
            get { return _contractamount; }
        }
        #endregion Model
    }
}
